package com.quanyan.operative.service;

import com.quanyan.api.APIResponse;
import com.quanyan.operative.db.TbOperateSubjectActivity;
import com.quanyan.operative.model.req.ReqOperatingActivity;
import com.quanyan.operative.model.resp.RespOperatingActivityDetail;
import com.quanyan.operative.model.resp.RespOperatingActivitySubject;

import java.util.List;

/**
 * 专题活动Service
 * Created by admin on 2016/11/22.
 */
public interface OperateActivityService {

    List<RespOperatingActivitySubject> getPlaceList(ReqOperatingActivity reqOperatingActivity);

    RespOperatingActivitySubject getSubjectAndActivity(Integer subjectId,
                                                       Integer cityId,
                                                       Integer pageNum,
                                                       Integer pageSize);

    List<TbOperateSubjectActivity> getSubjectActivityList(Integer subjectId,Integer pageNum, Integer pageSize);

    List<RespOperatingActivityDetail> getRespSubjectActivityList(Integer subjectId, Integer pageNum, Integer pageSize);

    /**
     * 判断用户是否有订场行为
     */
    APIResponse isUserBookPlace(Integer uid);
}
